Restored .h and .cpp extensions, Runtime move to samples forder
Fixed lots of crap.

Remastered resources system.
Begin switching to K&R identations.