Ah the May 3rd of 1791 constitution

(
http://en.wikipedia.org/wiki/May_3_Constitution).
Always been a favourite of mine.
Did so many things, but survived only a year, as it was removed in the War of the Defence of the Constitution.
The May 3rd constitution did:
-remove Liberum veto
-put the peasants under government protection(keeping Serfdom minimised)
-called for a standing army (100 000)
-made public offices and officer ranks open to all free men (towns people and nobles)
-national Education (including elementary schools and scholarships for the poor)This was the first in the world, though it may not have been part of the constitution, it was implemented for a time
-gave the king more power, but also put the Sejm on a better footing
-political equality (ie. voting rights) to townspeople and Schlazta (which was about 10%, which according to Wikipedia, is about the same in the States at the time)
-bicameral Sejm(which was to be extensively reformed), King and council are excecutive
-independant judiciary (a police force was founded to root out corruption)
-recognized both Lithuanians and Polish as equal members of the state
-guarranted all religions and tolerance, though recognized Catholocism as the major one
-
Instituted income tax (10% on nobles, 20% on church)
-made the crown an elective hereditary monarchy, which would pass to the house of Wettin of Saxony on the death of Stanislaw August
The Kings council would be made of five ministers, one for: police, internal affairs, foreign affairs, war, and treasury. The ministers were appointed by the King, but held responsible by the Sejm. All acts by the king had to be signed by the minister responsible for whatever it was about. On top of the five ministers and the king, there was the Roman Catholic Primate (bishops were apart of the upper house) who was also president of the ministry of Education. Finally the crown prince and the marshall of the Sejm would also be present, but they would have no voice. Two secretaries would also be present. Since the ministers had to cosign the Kings acts, they, not the king, were held responsible.
Obviously, since it was made in 1791, it happened after the first partition, but the momentum was there, it just needed the proper kick (first partion), and a strong ally (which it didn't so that's why it failed). It was inspired by America and Britain, but also heavily by French philosiphers (Montesquieu separation of powers).
It was the second modern codified national constitution (America came first) and was quite progressive. It was to be followed by an Economic constitution and a moral constitution (bill of rights) but Russia and Prussia put a stop to that.
These were the kind of Reforms that were sleeping under the surface, that could have transformed Poland into a modern and efficient state.

Hopefully, even without the first partition, something similiar like this could come to the surface.